<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<script src="../$$.js"></script>
<script src="../Class.js"></script>
<script><!--

A = $$.Class({}, {
	a: 1
	,d: 5
	,b: function(){
		console.log(this.a);	
	}
	,__construct: function(config){
		$$.extend(this, config);	
		//console.log(345);
	}
	,__ss: function(){
		console.log('s');
	}
});

//var a = new A();
B = $$.Class(A, {
	a: 2	
	/*,__construct: function(a, config){
		console.log('123');
		//$$.extend(this, config);
		//console.log(a);
		this._parent.__construct.call(null, config);
		//console.log(this._parent.__constructor);
	}*/
});

var a = new B({
	a: 3
	,d: 7
});

a.b();
console.log(a.a);
</script>
</head>

<body>
</body>
</html>